fix: Sample data processing script fails when using cross-subscription existing AI project resource ID #640
+97
−61
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request updates the infrastructure deployment scripts and templates to improve how the Azure AI Foundry resource is referenced and passed between modules and scripts. The main change is switching from using the AI Foundry name and resource group to using the full resource ID, which simplifies resource referencing and enhances reliability. Several parameters and outputs are renamed or replaced to support this approach.
Infrastructure Template and Output Refactoring:
aiFoundryId) instead of the name and resource group, and all downstream references are updated to consume this resource ID.Script Parameter and Usage Updates:
process_sample_data.shandrun_create_index_scripts.sh) are updated to accept and use the AI Foundry resource ID (aif_resource_id) instead of separate name and resource group parameters, and usage instructions are updated accordingly.Resource Definition Improvements:
Other Minor Infrastructure Updates:
main.bicepis reformatted for readability.These changes streamline resource management by using resource IDs, reduce parameter complexity, and improve deployment flexibility and reliability.
Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information